package top.atluofu.luofuecommerce.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import top.atluofu.common.to.SkuReductionTo;
import top.atluofu.common.to.SpuBoundTo;
import top.atluofu.common.utils.R;

/**
 * @ClassName: SpuFeignService
 * @description: TODO
 * @author: 有罗敷的马同学
 * @datetime: 2022Year-11Month-09Day-17:42
 * @Version: 1.0
 */

@FeignClient("luofuecommerce-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);


    @PostMapping("/coupon/skufullreduction/saveinfo")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
